<?php
require_once("./config/config.inc.php");
require_once("./config/mysql_conn.php");

$func = $_REQUEST["func"];
switch($func)
{
case "getstudentinfo":include("./api/getstudentinfo.php");break;
case "getclasslist":include("./api/getclasslist.php");break;
case "getright":include("./api/getright.php");break;

//teacher
case "getclasslist_tea":include("./api/getclasslist_tea.php");break;
case "getstudentlist_tea":include("./api/getstudentlist_tea.php");break;
case "getgroup":include("./api/getgroup.php");break;
}
?>